package communication.common.business.base;

import communication.common.business.heartbeat.HeartBeatConfig;
import communication.common.vertx.net.ProtocolEnum;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zxl
 */
@Data
@Component
@ConfigurationProperties(prefix = "fcr")
public class FcrAutoConfig {

    private FcrSocketAddress server;

    private int sshPort;

    private HeartBeatConfig heartBeat;

    private ProtocolEnum protocol;

    private WorkModeEnum workMode;

}
